package com.foreknow.demo3;

public class B extends A {
    @Override
    public void m1() {
        System.out.println("xxxxxxxxxxxx");
    }

    public static void main(String[] args) {
        B b = new B();
        b.m1();

        A a = new A();
        a.m1();
    }
}
